 @charset "utf-8";
// html,
// body {
//   width: 100%;
//   height: 100%;
// }
// 版心
.container {
  width: 1226px;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}
// 头部背景图
.header_top_img {
  width: 100%;
  height: 120px;
  position: relative;
  a {
    position: absolute;
    top: 0;
    height: 120px;
    width: 100%;
    background: url(../images/index/header_top_img.jpg) no-repeat 50%
      center/auto 120px;
  }
}
// 轮播图
.banner {
  position: relative;
  margin-bottom: 26px;
}
.banner_top {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  .swiper-container {
    width: 1226px;
    height: 460px;
    z-index: 0;
    .swiper-wrapper {
      position: relative;
      width: 100%;
      height: 100%;
      z-index: 1;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-transition-property: -webkit-transform;
      transition-property: -webkit-transform;
      transition-property: transform;
      transition-property: transform, -webkit-transform;
      -webkit-box-sizing: content-box;
      box-sizing: content-box;
      .swiper-slide img {
        width: 100%;
        height: 100%;
      }
    }
    .swiper-pagination {
      width: 400px;
      left: auto;
      right: 30px;
      bottom: 20px;
      text-align: right;
    }
    .swiper-button-prev {
      left: 234px;
    }

    .swiper-button-prev,
    .swiper-button-next {
      color: #b0b0b0;
      width: 41px;
      height: 69px;
      margin-top: -35px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
      font-size: 30px;
    }

    .swiper-button-prev:hover,
    .swiper-button-next:hover {
      color: #fff;
      background-color: #e0e0e0;
    }

    .swiper-pagination {
      --swiper-pagination-color: #f40;
    }
  }
}

// banner下方
.banner_bottom {
  height: 197px;
  margin-top: 14px;
  margin-left: -14px;
  .banner_bottom_left {
    width: 234px;
    float: left;
    margin-left: 14px;
    min-height: 1px;
    > ul {
      margin: 0;
      list-style-type: none;
      font-size: 12px;
      text-align: center;
      li {
        position: relative;
        float: left;
        width: 70px;
        height: 82px;
        padding: 0 3px;
        background-color: #5f5750;
        a {
          display: block;
          padding-top: 18px;
          text-overflow: ellipsis;
          color: #fff;
          opacity: 0.7;
          -webkit-transition: opacity 0.2s;
          transition: opacity 0.2s;
          &:hover {
            color: #b0b0b0;
          }
          img {
            display: block;
            width: 24px;
            height: 24px;
            margin: 0 auto 4px;
          }
        }
      }
    }
  }
  .banner_bottom_right {
    width: 978px;
    float: left;
    margin-left: 14px;
    min-height: 1px;
    > ul {
      margin: 0;
      padding: 0;
      li {
        float: left;
        width: 316px;
        height: 170px;
        margin-left: 15px;
        -webkit-transition: -webkit-box-shadow 0.2s linear;
        transition: -webkit-box-shadow 0.2s linear;
        transition: box-shadow 0.2s linear;
        transition: box-shadow 0.2s linear, -webkit-box-shadow 0.2s line;
        &:nth-child(1) {
          margin-left: 0;
        }

        > a {
          display: block;
          height: 170px;
          &:hover {
            box-shadow: 1px 5px 20px #cccccc;
          }
          img {
            display: block;
            width: 316px;
            height: 170px;
          }
        }
      }
    }
  }
}
// 内容
.script {
  padding-top: 4px;
  padding-bottom: 12px;
  background: #f5f5f5;
}
// 小米闪购

.iflashbuy {
  margin-bottom: 22px;
  position: relative;
  .iflashbuy_shopshow {
    //闪购标题
    .iflashbuy_title {
      h2 {
        margin: 0;
        font-size: 22px;
        font-weight: 200;
        line-height: 58px;
        color: #333;
      }
    }
    // 展示区域
    .shopshow_show {
      height: 340px;
      // 倒计时
      .count_down {
        float: left;
        // margin-left: 14px;
        min-height: 1px;
        width: 234px;
        height: 300px;
        padding-top: 39px;
        border-top-width: 1px;
        border-top-style: solid;
        background: #f1eded;
        text-align: center;
        border-top-color: #e53935;
        .round {
          font-size: 21px;
          color: #ef3a3b;
          padding-top: 15px;
        }
        img {
          width: 34px;
          height: 53px;
          margin: 25px auto;
          background-color: #f1eded;
        }
        .desc {
          color: rgba(0, 0, 0, 0.54);
          font-size: 15px;
        }
        .countdown {
          width: 168px;
          margin: 28px auto 0;
          .hour,
          .minute,
          .second {
            width: 46px;
            height: 46px;
            background: #605751;
            color: #fff;
            font-size: 24px;
            line-height: 46px;
            float: left;
          }
          i {
            width: 15px;
            float: left;
            height: 46px;
            line-height: 46px;
            color: #605751;
            font-size: 28px;
            font-style: normal;
          }
        }
      }
      // 商品展示
      .shopshow {
        width: 978px;
        float: left;
        margin-left: 14px;
        min-height: 1px;
        .swiper-container {
          .swiper-wrapper {
            transform: translate3d(-992px, 0px, 0px);
            transition-duration: 0ms;
            margin: 0;
            padding: 0;
            height: 340px;
            .swiper-slide {
              width: 234px;
              margin-right: 14px;
              border-top-width: 1px;
              border-top-style: solid;
              text-align: center;
              background: #fff;
              -webkit-transition: all 0.6s;
              transition: all 0.6s;
              position: relative;
              a {
                display: block;
                height: 300px;
                padding-top: 39px;
                position: relative;
              }
            }
          }
        }
      }

      // 点击按钮
      .swiper-controls {
        position: absolute;
        right: 25px;
        top: 24px;
        width: 20px;
        height: 25px;
        .swiper-button-prev,
        .swiper-button-next {
          display: inline-block;
          width: 24px;
          height: 16px;
          padding: 3px 5px;
          margin-left: -1px;
          border: 1px solid #e0e0e0;
          font-size: 16px;
          line-height: 16px;
          -webkit-transition: color 0.5s;
          transition: color 0.5s;
          color: #b0b0b0;
          text-align: center;
          outline: none;
          cursor: pointer;
          &::after {
            display: none;
          }
          &:hover {
            color: #fb6b09;
          }
        }
      }
    }
  }
}
.merchandise {
  .exhibition {
    display: block;
    width: 160px;
    margin: 0 auto 22px;
    img {
      width: 160px;
      height: 160px;
    }
  }
  // 展示秀
  .exhibition-headline {
    margin: 0 20px 3px;
    font-size: 14px;
    font-weight: 400;
    text-overflow: ellipsis;
    color: #212121;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
  }
  .exhibition-introduce {
    height: 18px;
    margin: 0 20px 12px;
    font-size: 12px;
    text-overflow: ellipsis;
    color: #b0b0b0;
    overflow: hidden;
    white-space: nowrap;
  }
  .exhibition-price {
    text-align: center;
    margin: 0;
    color: #ff6709;
    del {
      color: #b0b0b0;
    }
  }
}
// 中间图片 home-banner
.home-banner {
  height: 120px;
  margin: 22px 0;
  overflow: hidden;
}
// 手机
.cellphone {
  margin-bottom: 8px;
  .cellphone-title {
    position: relative;
    height: 58px;
    -webkit-font-smoothing: antialiased;
    h2 {
      margin: 0;
      font-size: 22px;
      font-weight: 200;
      line-height: 58px;
      color: #333;
    }
    .look_at_all {
      position: absolute;
      top: 0;
      right: 0;
      a {
        font-size: 16px;
        line-height: 58px;
        color: #424242;
        -webkit-transition: all 0.4s;
        transition: all 0.4s;
        &:hover {
          color: #ff832f;
          i {
            background: #ff832f;
          }
        }
        i {
          width: 12px;
          height: 12px;
          padding: 4px;
          margin-left: 8px;
          border-radius: 16px;
          font-size: 12px;
          line-height: 12px;
          background: #b0b0b0;
          color: #fff;
          vertical-align: 1px;
          -webkit-transition: all 0.4s;
          transition: all 0.4s;
        }
      }
    }
  }
  .cellphone-show {
    height: 628px;
    margin-left: -14px;
    .cellphone-show-left {
      width: 234px;
      float: left;
      margin-left: 14px;
      min-height: 1px;
      ul {
        margin: 0 0 -14px -14px;
        height: 614px;
        padding: 0;
        li {
          position: relative;
          z-index: 1;
          float: left;
          width: 234px;
          height: 614px;
          margin-left: 14px;
          margin-bottom: 14px;
          background: #fff;
          -webkit-transition: all 0.2s linear;
          transition: all 0.2s linear;
          a {
            display: block;
            width: 100%;
            height: 100%;
            img {
              height: 614px;
              width: 234px;
            }
          }
        }
      }
    }
    .cellphone-show-right {
      float: left;
      margin-left: 14px;
      min-height: 1px;
      width: 978px;
      ul {
        width: 992px;
        height: 614px;
        padding: 0;
        li {
          height: 260px;
          padding: 20px 0;
          position: relative;
          z-index: 1;
          float: left;
          width: 234px;
          margin-left: 14px;
          margin-bottom: 14px;
          background: #fff;
          -webkit-transition: all 0.2s linear;
          transition: all 0.2s linear;
        }
      }
    }
  }
}
// 阴影效果
.shadows:hover {
  z-index: 2;
  box-shadow: 0 15px 30px rgba($color: #000000, $alpha: 0.1);
  transform: translate3d(0, -2px, 0);
}
